.class Lcom/waiqin365/lightapp/dailyreport/bj;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/dailyreport/bi;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/bi;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7

    const v6, 0x7f020129

    const/4 v4, 0x0

    const/4 v3, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/a;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/dailyreport/c/a;->j_()Z

    move-result v1

    if-nez v1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    move-object v1, p1

    check-cast v1, Landroid/widget/LinearLayout;

    invoke-virtual {v1, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->f(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v0}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_4

    move v2, v3

    :goto_1
    iget-object v5, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v5, v5, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    iget-boolean v5, v5, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->a:Z

    if-eqz v5, :cond_2

    iget-object v5, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v5, v5, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v5}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->f(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)Ljava/util/List;

    move-result-object v5

    invoke-interface {v5}, Ljava/util/List;->clear()V

    :cond_2
    if-eqz v2, :cond_3

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->f(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-interface {v0, v3}, Lcom/waiqin365/lightapp/dailyreport/c/a;->a_(Z)V

    invoke-virtual {v1, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->g(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->a:Z

    if-eqz v0, :cond_0

    invoke-virtual {v1, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->h(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->h(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)Ljava/util/List;

    move-result-object v1

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/a;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/dailyreport/c/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->i(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->c(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)Lcom/waiqin365/lightapp/dailyreport/bi;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/bi;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->a(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)V

    goto/16 :goto_0

    :cond_3
    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/bj;->a:Lcom/waiqin365/lightapp/dailyreport/bi;

    iget-object v2, v2, Lcom/waiqin365/lightapp/dailyreport/bi;->a:Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;->f(Lcom/waiqin365/lightapp/dailyreport/SimpleSelectMultActivity;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    invoke-interface {v0, v4}, Lcom/waiqin365/lightapp/dailyreport/c/a;->a_(Z)V

    const v0, 0x7f02012d

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_2

    :cond_4
    move v2, v4

    goto/16 :goto_1
.end method
